/*
 * @Author: czy
 * @Date: 2021-07-11 20:55:08
 * @LastEditTime: 2021-07-15 16:07:59
 */
#ifndef __CONFIG_H_
#define __CONFIG_H_

#include "const.h"

// IO
#define BUF_SIZE 400                    // Output buffer size
#define HIS_SIZE 30                     // Historical input buffer size

// shell
#define NAME_SIZE 80                    // Command name size
#define HELP_SIZE 200                   // Command help size

// memory
#define ALIGN 32                        // Memory alignment size
#define MEM_BLOCK 32                    // Determine the maximum number of processes

// interrupt
#define FREQUENCY 100                   // Clock frequency

// process
#define ALGORITHM RR                    // Process scheduling algorithm(FCFS/SJF/RR)
#define PROCESS_TIMING_ACCURACY 10      // Process timing accuracy
#define LAST_RUN_TIME_WWEIGHT 0.5       // Weight of last run time(SJF)
#define TIMESLICE 300                   // Size of time slice in milliseconds(RR)
#define DEBUG 0                         // Debugging information is output when DEBUG is 1.

#endif